home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / Ham⁄GPS / SoftKiss.src.1.8 Folder / SoftKiss.src.1.8.sit / SoftKiss.src.1.8 / lib / sfk_os_preserve.h < prev    next >
Text File  |  1992-06-25  |  609b  |  25 lines

  1. /*
  2.  * get/save resource manager state
  3.  * by Aaron Wohl / N3LIW (aw0g+@andrew.cmu.edu) jul 1990
  4.  * 6393 Penn Ave #303
  5.  * Pittsburgh PA, 15206
  6.  * work: (412)-268-5032
  7.  * home: (412)-731-6159
  8.  */
  9.  
  10. #define OSP_same (0)
  11. #define OSP_sys  (1)
  12. #define OSP_noload (2)
  13.  
  14. /*
  15.  * call a routine possibly switching to the system heap
  16.  * take up to 4 arguments which are passed to the routine
  17.  * to call.
  18.  * The reserr proc in low memory is replaces so that if passed
  19.  * function gets a resource error it won't call the installed
  20.  * reserr procedure.
  21.  */
  22. #ifndef NO_OSP_DEF
  23. long OSP_protected_call(int new_heap,
  24.     ...);
  25. #endif